//
//  ZMPostDetailViewCell.h
//  基本框架
//
//  Created by runone02 on 2018/7/10.
//  Copyright © 2018年 liqiyun. All rights reserved.
//

#import "YYTableViewCell.h"
#import "ZMPostDetailModel.h"
#import "ZMDiscoverArticleTagView.h"
#import "ZMPostDetailPraiseAuthorModel.h"
#import "ZMDiscoverHeadModel.h"



@interface ZMPostDetailViewCell : YYTableViewCell

@end

@interface ZMPostDetailViewUserInfoCell : YYTableViewCell

/** */
@property (nonatomic, strong) UIView *mainView;
/**头像 */
@property (nonatomic, strong) UIImageView *thumbImageView;
/**昵称*/
@property (nonatomic, strong) UILabel *nameLabel;

/**创建时间*/
@property (nonatomic, strong) UILabel *creatTimeLabel;
/**圈子名称 */
@property (nonatomic, strong) UILabel *circleNameLabel;
/**跟随按钮*/
@property (nonatomic, strong) UIButton *followButton;
/** */
@property (nonatomic, strong) UIImageView *bottomLine;
/** */
@property (nonatomic, strong) ZMPostDetailModel *model;


@end

/**
 正文标题如果有的话
 */
@interface ZMPostDetailViewTextContentCell : YYTableViewCell
/** */
@property (nonatomic, strong) UIView *mainView;
/** */
@property (nonatomic, strong) YYLabel *nameLabel;
/** */
@property (nonatomic, strong) ZMPostDetailModel *model;
@end




/**
 正文图片列表  如果有的话
 */
@interface ZMPostDetailViewImageListCell : YYTableViewCell

/** */
@property (nonatomic, strong) UIView *mainView;
/** */
@property (nonatomic, strong) NSMutableArray *imageArray;
/** */
@property (nonatomic, strong) ZMPostDetailModel *model;

@end




/**
 标签视图  如果有的话
 */
@interface ZMPostDetailViewTagCell : YYTableViewCell

/** */
@property (nonatomic, strong) UIView *mainView;

/**滚动标签 */
@property (nonatomic, strong) ZMDiscoverArticleTagView *tagView;

/** */
@property (nonatomic, strong) ZMPostDetailModel *model;

@end



/**
 点赞的人
 */
@interface ZMPostDetailViewPraiseCell : YYTableViewCell

/** */
@property (nonatomic, strong) UIView *mainView;

/**喜欢人数 */
@property (nonatomic, strong) UILabel *praiseLabel;
/**右边箭头 */
@property (nonatomic, strong) UIImageView *arrowImageView;
/** 分割线*/
@property (nonatomic, strong) UIImageView *topLineImageView;
/** */
@property (nonatomic, assign) CGFloat marginLeft;

/** */
@property (nonatomic, strong) ZMPostDetailModel *model;

@end



/**
 头部 猜你喜欢.全部评论 最热评论
 */
@interface ZMPostDetailViewHeaderView : UIView

/** */
@property (nonatomic, strong) UIView *mainView;
/**图标 */
@property (nonatomic, strong) UIImageView *iconImageView;
/**文字 */
@property (nonatomic, strong) UILabel *titleLabel;
/**头部模型 */
@property (nonatomic, strong) ZMDiscoverHeadModel * model;

@end



/**
 猜你喜欢
 */
@class ZMPostDetailViewHeaderView;
@interface ZMPostDetailViewRelatedPostsCell : YYTableViewCell

/** */
@property (nonatomic, strong) UIView *mainView;
/** */
@property (nonatomic, strong) UIScrollView *scrollView;
/**分割线 */
@property (nonatomic, strong) UIImageView *topLineImageView;

/**用来统计图片左侧间距 */
@property (nonatomic, assign) CGFloat marginLeft;

/** */
@property (nonatomic, strong) ZMPostDetailModel * model;

@property (nonatomic, strong) ZMPostDetailViewHeaderView *headerView;
@end
